class Tabs{
    constructor(id){
        this.main=document.querySelector(id)
        console.log(this.main);
    }
}
const tab=new Tabs('#tab')